
// 1 状态(1连接成功 2 连接失败 3 准备完成 4 正在准备OTA环境中
// 5 进入OTA环境 6 升级中  7 升级失败，重新升级 8 升级成功 9 设备断开 10 没有传入Mac地址
// 11 连接设备中 12 传入文件失败 其他错误)
enum RtkStatus {
  ///连接成功(Successfully connected)
  STATUS_CONNECT_SUCC,
  ///连接失败(connect failed)
  STATUS_CONNECT_ERROR,
  ///准备完成(Ready to complete)
  STATUS_READY_FINISH,
  ///正在准备OTA环境中(Preparing for OTA environment)
  STATUS_OTA_READYING,
  ///进入OTA环境(Entering the OTA environment)
  STATUS_OTA_FINISH,
  ///升级中(Upgrading)
  STATUS_UPGRADING,
  ///升级失败，重新升级(Upgrade failed, please upgrade again)
  STATUS_UPGRAD_ERROR,
  ///升级成功(Upgrade Successful)
  STATUS_UPGRAD_SUCC,
  ///设备断开(Device disconnection)
  STATUS_DEVICE_DIS,
  ///没有传入Mac地址(No Mac address passed in)
  STATUS_MAC_NONE,
  ///连接设备中(Connecting devices)
  STATUS_DEVICE_CONNECTING,
  ///其他错误(Other errors)
  STATUS_ERROR,
  ///传入文件失败(Incoming file failed)
  STATUS_MAC_NO_SELECT_FILE,
}

